package com.zara.store.common;

import java.io.Serializable;
import java.util.*;

public class OfadVO implements Serializable{

	private static final long serialVersionUID = 1L;

	private String id;
	private Date date;
	private Collection<ProductVO> items = new ArrayList<ProductVO>();
	private Collection<ProductVO> newItems = new ArrayList<ProductVO>();
	
	public Date getDate(){
		return date;
	}

	public void setDate(Date newVal){
		date = newVal;
	}

	public Collection<ProductVO> getItems() {
		return items;
	}

	public void setItems(Collection<ProductVO> items) {
		this.items = items;
	}

	public Collection<ProductVO> getNewItems() {
		return newItems;
	}

	public void setNewItems(Collection<ProductVO> newItems) {
		this.newItems = newItems;
	}

	public void addNew(ProductVO productVO) {
		newItems.add(productVO);
	}

	public void add(ProductVO productVO) {
		items.add(productVO);
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

}